package Operation;

import Books.Book;
import Books.Booklist;

public class Eixtbook implements IOPeration {
    @Override
    public void work(Booklist booklist) {
        System.out.println("退出图书系统");
        for (int i = 0; i < booklist.getUsersize(); i++) {
            booklist.setbook(i, null);
        }
        booklist.getbook(0);
        System.exit(0);
    }
}
